Query builder
Laravel 5
のDBファサードや
Eloquent
で利用できるAPI
Laravel5
Database: Query Builder - Laravel - The PHP Framework For Web Artisans
(
和訳
)
Database: Query Builder - Database: Query Builder
複数のWhere
php - How to Create Multiple Where Clause Query Using Laravel Eloquent? - Stack Overflow
code:php
$query->where([
'column_1', '=', 'value_1'
,
'column_2', '<>', 'value_2'
,
COLUMN, OPERATOR, VALUE
,
...
])
モック
https://www.ritolab.com/entry/168